package com.song.service.impl;

import com.song.dao.RoleDao;
import com.song.pojo.Role;
import com.song.service.RoleService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author TonySong
 * @date 2024/4/23 0023
 * @time 15:59
 */
@Service
public class RoleServiceImpl  implements RoleService {
    @Resource
    private RoleDao roleDao;
    @Override
    public List<Role> getAllRole() {
        return this.roleDao.findAll();
    }


}
